import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user.js'
import article from '@/store/modules/article.js'

Vue.use(Vuex)

export default new Vuex.Store({
  // state: {},
  // mutations: {},
  // actions: {},
  modules: {
    user, article
  }
})

// store文件夹
//    index.js
//    modules/user.js and .....
